﻿using NewLife.Remoting.Models;

namespace NewLife.IoT.Models;

/// <summary>心跳信息</summary>
public class PingInfo : IPingRequest
{
    #region 属性
    /// <summary>内存大小</summary>
    public UInt64 Memory { get; set; }

    /// <summary>可用内存大小</summary>
    public UInt64 AvailableMemory { get; set; }

    /// <summary>磁盘大小。应用所在盘</summary>
    public UInt64 TotalSize { get; set; }

    /// <summary>磁盘可用空间。应用所在盘</summary>
    public UInt64 AvailableFreeSpace { get; set; }

    /// <summary>CPU使用率</summary>
    public Double CpuRate { get; set; }

    /// <summary>温度</summary>
    public Double Temperature { get; set; }

    /// <summary>电量</summary>
    public Double Battery { get; set; }

    /// <summary>本地IP</summary>
    public String IP { get; set; }

    /// <summary>开机时间，单位s</summary>
    public Int32 Uptime { get; set; }

    /// <summary>本地UTC时间。ms毫秒</summary>
    public Int64 Time { get; set; }

    /// <summary>延迟。ms毫秒</summary>
    public Int32 Delay { get; set; }
    #endregion
}